package day06.homework.demo1;

public class Circle extends Shape{
    private double radius;

    public static final double PI = 3.14;

    public Circle(double radius){
        this.radius = radius;
    }

    @Override
    public double area(){
        return PI*radius*radius;
    }

    @Override
    public double girth(){
         return  2*PI*radius;
    }
}
